home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 2.0 KB | 107 lines | [TEXT/GEOL] |
- Item forwarded by A33 to A34
-
- Item 7284525 13-Feb-90 18:58PST
-
- From: D2652 Strategic Planning Sys, D Bell,PRT
-
- To: MACAPP.TECH$ MacApp Technical
-
- cc: D2652 Strategic Planning Sys, D Bell,PRT
-
- Sub: Mouser Question
-
-
- Hello Fellow MacAppers,
-
- On returing from San Diego last week, We launched the new version of Mouser and
- started parsing our code. Unfortunately, it suddenly stopped, and put up a
- dialog box sayin gsomethin glike, "Could not parse file "<name>" because and
- END was not found for an object".
-
- What? Here's the code below that it stopped at. I moved the statements around
- to try and find the problem; I even split the file in two. But Mouser always
- stopped at the same place (physically) in the code, as I've indicated:
-
- {$S AOpen}
- PROCEDURE TMyControl.IMyControl(itsDoc: TTickerDoc; aDefChoice: INTEGER; aName:
- Str255);
- VAR
- iconNumber : INTEGER;
- aHandle : Handle;
- aCHandle: CIconHandle;
- BEGIN
- fDefChoice := aDefChoice;
- fIconNumberOff := 0;
- fIconNumberOn := 0;
-
- CASE fDefChoice OF
- kLoadChoice:
- BEGIN
- fIconNumberOff := 8760;
- fIconNumberOn := 22610;
- END;
-
- kMonitorChoice:
- BEGIN
- fIconNumberOn := 26174;
- fIconNumberOff := 7753;
- END;
-
- kAlarmsChoice:
- BEGIN
- fIconNumberOn := 27821;
- fIconNumberOff := 782;
- END;
-
- kGraphChoice:
- BEGIN
- fIconNumberOn := 17957;
- END;
-
- kFindChoice:
- BEGIN
- fIconNumberOn := 20407;
- END;
-
- kInterGraphChoice:
- BEGIN
- fIconNumberOn := 26067;
- END;
-
- kEditChoice:
- BEGIN
- fIconNumberOn := 26290;
- END;
-
- kAddChoice:
- BEGIN
- fIconNumberOn := 25693;
- END;
-
- kCommentChoice:
- BEGIN
- fIconNumberOn := 30572;
- END;
- END; { Case fDefChoice }
-
- fName := aName;
- fTickerDoc := itsDoc;
-
- END;
-
- The error I got was as follows:
-
- "Code being parsed was:
-
- ckerDoc := itsDoc;
-
- END;"
-
- Can anyone help???
-
- Dan Cooley
- Strategic Planning Systems
-
-
-
-